﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Recommand.ascx.cs" Inherits="UserControls_Recommand" %>
<div class="ch sc2"><b>推荐课程</b></div>
<div class="rd lc">
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="ObjectDataSource1">
    <HeaderTemplate><table><tr class="th"><td>课程</td><td>价格</td><td>培训机构</td><td>来源</td></tr></HeaderTemplate>
        <ItemTemplate>
        <tr><td><a href="Default.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Oc_id") %>" target="_blank" title="<%# DataBinder.Eval(Container.DataItem, "Title") %>"><%# DataBinder.Eval(Container.DataItem, "Title") %></a></td><td><%# DataBinder.Eval(Container.DataItem, "Promotepricevar")%></td><td><%# DataBinder.Eval(Container.DataItem, "Presideunit") %></td><td><%# DataBinder.Eval(Container.DataItem, "SrcWeb") %></td></tr>
</ItemTemplate>
    <FooterTemplate></table></FooterTemplate>
</asp:Repeater></div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    OldValuesParameterFormatString="original_{0}" 
    SelectMethod="RetrieveRecommandItemsByKey" 
    TypeName="Gammar.Price.Business.SearchLogic">
    <SelectParameters>
        <asp:QueryStringParameter Name="guid" QueryStringField="id" Type="Object" />
    </SelectParameters>
</asp:ObjectDataSource>
